WORK_DIR = "/home/oai/env/suri"

IPTABLES_SET_COMMAND = "sudo iptables -I DOCKER-USER -j NFQUEUE"
IPTABLES_CHECK_COMMAND = "sudo iptables -L --line-numbers | grep NFQUEUE"
# 如果发现NFQ启动失败了，增加该值或重启计算机
QUEUE_NUM = 0
SURICATA_CONFIG_FILE = f"{WORK_DIR}/suricata.yaml"
SURICATA_RULE_FILE = f"{WORK_DIR}/rule.rules"
SURICATA_SET_COMMAND = f"sudo suricata -c {SURICATA_CONFIG_FILE} -q {QUEUE_NUM}"

SURICATA_OUTPUT_FILE = f"/var/log/suricata/fast.log"
